package com.ggb.smartstudy.service;

import com.ggb.smartstudy.entity.Role;

import java.util.List;

/**
 * @author gefangjie
 */
public interface RoleService {
    Role getRoleById(Integer id);
    List<Role> getAllRoles();
    void createRole(Role role);
    void updateRole(Role role);
    void deleteRole(Integer id);
}